package com.yicong.ants.bean.video;

public class GiftListBean {
    private String gift_id;
    private String gift_name;
    private String gift_img;
    private String gift_coin;
    private boolean gift_select;

    public GiftListBean() {
    }

    public String getGift_id() {
        return this.gift_id;
    }

    public String getGift_name() {
        return this.gift_name;
    }

    public String getGift_img() {
        return this.gift_img;
    }

    public String getGift_coin() {
        return this.gift_coin;
    }

    public boolean isGift_select() {
        return this.gift_select;
    }

    public void setGift_id(String gift_id) {
        this.gift_id = gift_id;
    }

    public void setGift_name(String gift_name) {
        this.gift_name = gift_name;
    }

    public void setGift_img(String gift_img) {
        this.gift_img = gift_img;
    }

    public void setGift_coin(String gift_coin) {
        this.gift_coin = gift_coin;
    }

    public void setGift_select(boolean gift_select) {
        this.gift_select = gift_select;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof GiftListBean)) return false;
        final GiftListBean other = (GiftListBean) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$gift_id = this.getGift_id();
        final Object other$gift_id = other.getGift_id();
        if (this$gift_id == null ? other$gift_id != null : !this$gift_id.equals(other$gift_id))
            return false;
        final Object this$gift_name = this.getGift_name();
        final Object other$gift_name = other.getGift_name();
        if (this$gift_name == null ? other$gift_name != null : !this$gift_name.equals(other$gift_name))
            return false;
        final Object this$gift_img = this.getGift_img();
        final Object other$gift_img = other.getGift_img();
        if (this$gift_img == null ? other$gift_img != null : !this$gift_img.equals(other$gift_img))
            return false;
        final Object this$gift_coin = this.getGift_coin();
        final Object other$gift_coin = other.getGift_coin();
        if (this$gift_coin == null ? other$gift_coin != null : !this$gift_coin.equals(other$gift_coin))
            return false;
        if (this.isGift_select() != other.isGift_select()) return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof GiftListBean;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $gift_id = this.getGift_id();
        result = result * PRIME + ($gift_id == null ? 43 : $gift_id.hashCode());
        final Object $gift_name = this.getGift_name();
        result = result * PRIME + ($gift_name == null ? 43 : $gift_name.hashCode());
        final Object $gift_img = this.getGift_img();
        result = result * PRIME + ($gift_img == null ? 43 : $gift_img.hashCode());
        final Object $gift_coin = this.getGift_coin();
        result = result * PRIME + ($gift_coin == null ? 43 : $gift_coin.hashCode());
        result = result * PRIME + (this.isGift_select() ? 79 : 97);
        return result;
    }

    public String toString() {
        return "GiftListBean(gift_id=" + this.getGift_id() + ", gift_name=" + this.getGift_name() + ", gift_img=" + this.getGift_img() + ", gift_coin=" + this.getGift_coin() + ", gift_select=" + this.isGift_select() + ")";
    }
}
